<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
   	<link href="<%=request.getContextPath() %>/css/add.css" type="text/css" rel="stylesheet">
	
  </head>
  
  <body>
  	<div id="up">
	   <ul>
	    	<li><span><a href="#">用户管理 </a>&gt; 添加用户 &gt;</span></li>
	   </ul>
	</div>
	<div id="down">
	    <form method="post" action="/AdminTicket/updateTicket">
			<input type="hidden" name="tid" value="${ticket.tid}"/>
	   		<table width="1000px">
				<tr>
					<td>门票名称：</td>
					<td><input type="text" name="tname" value="${ticket2.tname}" class="in"/><span id="mySpan"></span></td>
				</tr>
				<tr>
					<td>门票场次	：</td>
					<td><input type="number" name="tsession" value="${ticket2.tsession}" class="in"/><span id="mySpan"></span></td>
				</tr>
				<tr>
					<td>门票价格：</td>
					<td><input type="number" name="tmoney" value="${ticket2.tmoney}" class="in"/></td>
				</tr>
				<tr>
					<td>门票数量：</td>
					<td><input type="number" name="tnum" value="${ticket2.tnum}" class="in"/></td>
				</tr>

				<tr>
					<td>售票开始时间：</td>
					<td><input type="datetime-local" value="${ticket2.t_start_time}" name="t_start_time" class="in"/></td>
				</tr>
				<tr>
					<td>售票结束时间：</td>
					<td><input type="datetime-local" value="${ticket2.t_end_time}" name="t_end_time" class="in"/></td>
				</tr>
				<tr>
	   				<td></td>
	   				<td>
	   					<input type="submit" value="提&nbsp;&nbsp;&nbsp;交" class="su">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   					<input type="reset" value="清&nbsp;&nbsp;&nbsp;空" class="su">
	   				</td>
	   			</tr>
	   		</table>
	    </form>
    </div>
  </body>
</html>
